import ReactDOM from 'react-dom';
import App from './App';
import store from './store/index'
import { Provider } from 'react-redux'
import './assets/styles/index.scss'

// 配置datjs相对时间
import relativeTime from 'dayjs/plugin/relativeTime'
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn'
dayjs.extend(relativeTime)
dayjs.locale('zh-cn')


ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
